<h1>Listing thumbnails</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Width</th>
    <th>Height</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @thumbnails.each do |thumbnail| %>
  <tr>
    <td><%= thumbnail.name %></td>
    <td><%= thumbnail.width %></td>
    <td><%= thumbnail.height %></td>
    <td><%= link_to 'Show', thumbnail %></td>
    <td><%= link_to 'Edit',  edit_thumbnail_path(thumbnail) %></td>
    
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Thumbnail', new_thumbnail_path %>
